package com.rf.richfitwheel.admin.sys.model;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单bean
 * 
 * @author hushouquan
 * @date 2018-11-27
 */
public class MenuBean implements Serializable {
	
	private static final long serialVersionUID = 1L;

	 private String id;

	    private String parentId;

	    private String name;

	    private String url;

	    private String perms;

	    private Integer type;

	    private String icon;

	    private Integer orderNum;
	
	    private String sysResource;;
	    
	    private String alias;

	    private String moduleType;
		/**
		 * ztree属性
		 */
		private Boolean open;
	
		private List<?> list;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getParentId() {
			return parentId;
		}

		public void setParentId(String parentId) {
			this.parentId = parentId;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getUrl() {
			return url;
		}

		public void setUrl(String url) {
			this.url = url;
		}

		public String getPerms() {
			return perms;
		}

		public void setPerms(String perms) {
			this.perms = perms;
		}

		public Integer getType() {
			return type;
		}

		public void setType(Integer type) {
			this.type = type;
		}

		public String getIcon() {
			return icon;
		}

		public void setIcon(String icon) {
			this.icon = icon;
		}

		public Integer getOrderNum() {
			return orderNum;
		}

		public void setOrderNum(Integer orderNum) {
			this.orderNum = orderNum;
		}

		public Boolean getOpen() {
			return open;
		}

		public void setOpen(Boolean open) {
			this.open = open;
		}

		public String getAlias() {
			return alias;
		}

		public void setAlias(String alias) {
			this.alias = alias;
		}

		public String getSysResource() {
			return sysResource;
		}

		public void setSysResource(String sysResource) {
			this.sysResource = sysResource;
		}

		public List<?> getList() {
			return list;
		}

		public void setList(List<?> list) {
			this.list = list;
		}

		public String getModuleType() {
			return moduleType;
		}

		public void setModuleType(String moduleType) {
			this.moduleType = moduleType;
		}

	/* （非 Javadoc）
		 * @see java.lang.Object#toString()
		 */
		@Override
		public String toString() {
			StringBuilder builder = new StringBuilder();
			builder.append("MenuBean [id=");
			builder.append(id);
			builder.append(", parentId=");
			builder.append(parentId);
			builder.append(", name=");
			builder.append(name);
			builder.append(", url=");
			builder.append(url);
			builder.append(", perms=");
			builder.append(perms);
			builder.append(", type=");
			builder.append(type);
			builder.append(", icon=");
			builder.append(icon);
			builder.append(", orderNum=");
			builder.append(orderNum);
			builder.append(", sysResource=");
			builder.append(sysResource);
			builder.append(", alias=");
			builder.append(alias);
			builder.append(", open=");
			builder.append(open);
			builder.append(", list=");
			builder.append(list);
			builder.append(", moduleType=");
			builder.append(moduleType);
			builder.append("]");
			return builder.toString();
		}

	

}
